package com.huixuebao.settle.service;


import com.huixuebao.common.bean.ApiResult;
import com.huixuebao.settle.dto.CategoryDTO;
import com.huixuebao.settle.entity.CategoryEntity;

import java.util.List;

public interface CategoryService {

    ApiResult<List<CategoryEntity>> queryCategoryByPid(String pid);
    ApiResult<List<CategoryDTO>> categoryTree();

    ApiResult<List<CategoryDTO>> listAllCategoryByPid(String pid);
}